package com.cn.dao;

import java.util.List;

import com.cn.domain.Order;
import com.cn.domain.OrderItem;

public interface OrderDao {

	public void saveOrder(Order o);
	
	public void saveOrderItem(OrderItem ot);
	
	public List<Order> getOrderListByUserId(int id);
	
	public Order getOrderByOrderId(String id);
	
	public List<OrderItem> getListOrderItemByOrderId(String id);

	
	public void deleteOrderByOrderId(String id);
	
	public void updateOrderStatu(String id);

	public List<Order> getOrderlistByCondition(String oid,String receiver);
}
